package com.apis.admin;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmUserDto;
import com.usian.model.media.pojos.WmUser;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface AdwemediaApi {
    /**
     * 根据姓名查询
     * @param name
     * @return
     */
    public WmUser findbyname(@PathVariable("name") String name);

    /**
     *保存自媒体用户
     * @param user
     * @return
     */
    public ResponseResult save(@RequestBody WmUser user);

}
